• Post Reply Bookmark Topic Watch Topic
  • New Topic

default path for FTP PUT in linux....  RSS feed

 
Justin Fox
Ranch Hand
Posts: 802
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
ok, I have a upload form for a picture in html on server number one.
but I want to re-route the actual picture file to server number two.

I have written the code to do this (theoretically), but I need to know what directory the picture will get PUT to. Can I just do:



or do I need to specify the actual target path?
or does it kind of do like windows and put it in localhost(i think thats where windows FTP puts a file if you don't specify).

Thanks,

Justin Fox
 
Jeff Rummings
Ranch Hand
Posts: 42
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I believe by default PUT will upload to the directory you find yourself in when you log in to the ftp server with your username. If that's not the directory you need, you will have to specify it explicitly.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!