View Single Post
  #10  
Old January 8th 19, 06:51 PM posted to alt.windows7.general
VanguardLH[_2_]
external usenet poster
 
Posts: 10,881
Default Transferring files to Tablet via USB Cable Looses Original Time & Dates of Files

jaugustine wrote:

SNIP
Probably not going to keep the original timestamps when using
Windows/File Explorer. When it creates a new file (the destination for
a copy operation), the timestamp will be when the file was created.

You can try using the command shell to do copy operations, like using
robocopy included in Windows. See:

https://superuser.com/a/1326224

Not sure how you are copying files from your PC to your tablet if
Windows on the PC is not assigned a drive letter to the tablet. How
are you going to transfer the .zip file from the PC to the tablet
without a drive letter for the tablet?


The tablet is a Samsung Galaxy Tab A model : SM-T280.

The name of the device is displayed using Windows explorer, but
no drive letter. Therefore, I am not able to use the command,
"copy *.* E:" (copy all files at present location to the E: drive)

VERY IMPORTANT:

I forgot to mention that the first time I plugged this tablet, via
USB cable, into the Win7 laptop, Win7 searched for a driver,
but could NOT find a driver for the tablet.

I may search for a Windows 7 driver for this tablet, and that
might solve the problem?

You sure the USB port in the tablet is configured for file transfer?
The setting in the tablet might restrict the USB port to just charging
or other limited use. In addition, in your tablet, you might have to
change from PTP to MTP for connection protocol.

https://en.wikipedia.org/wiki/Picture_Transfer_Protocol
https://en.wikipedia.org/wiki/Media_Transfer_Protocol


BTW, I had to "Allow" access to the tablet (on the tablet) when
I first plugged it in.

John


The USB mass storage class has been supported since Windows XP; however,
I suspect the device must use MTP, not PTP.

https://en.wikipedia.org/wiki/USB_ma...e_device_class

I also suspect the UMS support in Windows requires the storage on the
device to use a formatting that Windows supports, like FAT[32] or NTFS.
UMS works if, say, a USB flash drive is formatted as FAT or NTFS.
However, I'm guessing Google with its Unix-variant Android OS is using a
Linux storage format (e.g., ext3). That means the device needs to
provide a logical file system manager to communicate to the USB-attached
PC. Another problem is that Google stopped presenting the USB-attached
phone as a USB mass storage device in Android 4 (Google dropped USBMS in
Android 4). Windows does not see MTP devices as mass storage devices.

I have seen where USB devices do not get a drive letter assigned. I
some cases, it was incomplete presentation data sent by the USB device
to Windows. In some cases, the enumeration data stored in the Windows
registry got corrupted and I had to delete it and reconnect the USB
device to renogiate to obtain its presentation data again. You might be
able to go into Device Manager (devmgmt.msc) to see if the USB device is
listed (but without a drive letter). Right-click on the USB device and
assign it a drive letter.

Still don't know how you have USB setup for which mode on your tablet.
See:

https://support.google.com/android/answer/9064445?hl=en

Did you configure your tablet to enable file transfer over its USB port?

Also don't know if you picked a default action in the AutoPlay wizard
for the USB device (tablet) when Windows detected it. In Control Panel
- AutoPlay, is your tablet listed under the Devices section? For some
reason, Microsoft decided upon install of OneDrive (or perhaps as an
option in OneDrive that I did not realize the consequences) to assign
"Import photos and videos to OneDrive" when I plug in my smartphone via
USB. I had to change the default action to "Ask me everytime" so I
could decide what to do when I connected my smartphone to my PC.

Apparently the MTP protocol does not do much other than identify the
device to the OS for media control. It does not enforce a drive letter
assignment. While this is a limitation in the Windows Explorer, other
file managers are more robust. I've read where some have use the Total
Commander file manager: in Explorer, right-click on the MTP device and
created a shortcut, and use the shortcut in Total Commander to explore
the MTP device. There are other similar remoting software for Android
devices but I only used AirDroid (see below).

Another suggestion was to install an FTP, WebDAV, or other file server
app on the phone/tablet and connect to it with a matching client on the
PC to transfer files to/from the device. One setup had the user install
an FTP server on their phone and use FTPuse on their PC to map a remote
share (FTP server) as a local drive on the PC.

Rather than use an all-3rd party setup, one user suggested using a
WebDAV server on the phone, like:

https://play.google.com/store/apps/d...avserver&hl=en
(I have no experience with this app.)

The WebDav server will listen on an IP address and port (which you have
to know). Under Windows, you use "Map Network Drive", enter the IP
address and port for the WebDAV server on the phone, and a drive letter
gets assigned to that mapped share. This is how mapped drives work.

You could enable Developer Options in the tablet and then in dev options
enable the Debug Mode. I remember back when I used AirDroid (their
desktop client on the PC) that it required USB Debug Mode (under Deve
Options) to remotely controll my smartphone, and it let me see all the
files on my smartphone. Later AirDroid came out with a web client that
can access your smartphone, so you could use their desktop client on
your PC or their web client from anywhere you can use a web browser.

https://www.google.com/search?q=Sams...T28+debug+mode

Then install the ADB (Android Debug Bridge) driver in Windows (to
communicate with the tablet from Windows). As for Samsung's ADB driver,
I found:

https://developer.samsung.com/galaxy...er-for-windows

I haven't connected my smartphone to my PC via USB cable in a long time.
On the phone, I have both OneDrive and Google Drive (the latter is
bundled with Android) which can sync files to my online account. On my
PC, I have the OneDrive and Google Drive (renamed to Google Backup and
Sync) which syncs to my online account. In effect, I'm using the cloud
to sync my files between my phone and PC.
Ads