|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Stop making mediocre tutorials.The best tutorials are video! Camtasia Studio makes it easy to create engaging, buzz-building screen videos at any size, in any popular format. Download the free trial!
|
|
#1
|
||||
|
||||
|
Help with an FTP
Ok, I have a unique situation which is out of the norm. Is there a way, when doing an FTP transfer on a Unix box, to have the file name on the other side have a different name from the file you are transfering and also have a date/time stamp on it as well? I have never heard of being able to add a date/time and just had to see if anyone has done this.
Thanks! jlk |
|
#2
|
|||
|
|||
|
If you create an empty file ahead of time:
Code:
cat /dev/null file1 you can use the ftp command "append". It will use the name of the existing empty file. I do not know of anyway to specify the destination filename without spending way too much time writing a roll-your-own sockets app. |
|
#3
|
|||
|
|||
|
I don't know about the date and time, but as far as the name goes if you are using ftp from the console:
Code:
ftp>get original_filename my_new_filename works for me -Steven __________________ Run away from the hills! If you see the hills, run the other way! –Edmund Black Adder |
|
#4
|
|||
|
|||
|
My bad. - Now I see what he wanted. Ignore my post
![]() |
|
#5
|
|||
|
|||
|
Well, it may be my bad... we don't know yet. We both hit our jeopardy buzzers at the same time.
I am not familiar with append, but it looks interesting. Does it work "backwards" (appending from client to server)? It appears to want to append a file on the server with the contents of a file on the client. -Steven __________________ Who will rid me of this turbulent priest? –King Richard, Black Adder |
|
#6
|
||||
|
||||
|
Quote:
I have been researching this for about an hour or so ( far longer than really needed) and I haven't found anything really. I am now looking at the commands that FTP supports. If I find anything, I will post here. Thanks for the replies!!! jlk |
![]() |
| Viewing: Dev Shed Forums > Operating Systems > UNIX Help > Help with an FTP |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|