|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Retrieving file info from ftp serverHi,
I have noticed that when I use Socket.Receive(byte[]) it retrieves all information about files including day, month but without year. Date for directories is full though. What would be reason for this? How can I get full date for files stored on my ftp server from my app. Thank you "Dino Buljubasic" <d***@noplacelikehome.com> wrote in message By default, most Unix servers give a date without a year for the current news:kfivs1pu8k0ked9j20nsr1iu8v6290ku59@4ax.com... > I have noticed that when I use Socket.Receive(byte[]) it retrieves all > information about files including day, month but without year. Date > for directories is full though. > > What would be reason for this? How can I get full date for files > stored on my ftp server from my app. year. Assume current year if no year given. I can not assume current year. I need the year part for comparisson
purposes. On Fri, 20 Jan 2006 02:18:32 GMT, "Homer J Simpson" <nob***@nowhere.com> wrote: Show quoteHide quote > >"Dino Buljubasic" <d***@noplacelikehome.com> wrote in message >news:kfivs1pu8k0ked9j20nsr1iu8v6290ku59@4ax.com... > >> I have noticed that when I use Socket.Receive(byte[]) it retrieves all >> information about files including day, month but without year. Date >> for directories is full though. >> >> What would be reason for this? How can I get full date for files >> stored on my ftp server from my app. > >By default, most Unix servers give a date without a year for the current >year. Assume current year if no year given. > > "Dino Buljubasic" <d***@noplacelikehome.com> wrote in message This is a simple text handling function. Extract the date/time information news:6e32t1hjkut232dcg8se61a9virns5ld00@4ax.com... >I can not assume current year. I need the year part for comparisson > purposes. and parse it. If no year information is given assume current year. "Dino Buljubasic" <d***@noplacelikehome.com> wrote in message This is a simple text handling function. Extract the date/time informationnews:6e32t1hjkut232dcg8se61a9virns5ld00@4ax.com... >I can not assume current year. I need the year part for comparisson > purposes. and parse it. If no year information is given assume current year. Remember that if you can run a command on the ftp server, ls -l will give you full information. Use man ls for more information on the ls command.
installing my app on another computer
ConnectionString property has not been initialized remove blank strings in arraylist memeory release from un managed code Threads Question - updating UI system.data.oledb Need to find which text box has the focus. wince, datagrid... no define >< [OT] We have a winner! Farsi Font |
|||||||||||||||||||||||